<script setup>

</script>

<template>
<div>
  <el-row>
    <el-col span="3">
      <el-menu
          default-active="1"
          class="el-menu-vertical-demo"
          background-color="#545c64"
          text-color="#fff"
          style="height: 89.8vh"
          router
          active-text-color="#ffd04b">
        <el-menu-item @click="changeUserManage(1)" :disabled="this.canApply" index="/personalCenter/basicUserInfo" >
          <i class="el-icon-menu"></i>
          <span slot="title" >基本信息</span>
        </el-menu-item>
        <el-menu-item  @click="changeUserManage(2)" :disabled="this.canApply" index="/personalCenter/editUserInfo" >
          <i class="el-icon-menu"></i>
          <span slot="title" >编辑信息</span>
        </el-menu-item>
        <el-menu-item @click="changeUserManage(3)" :disabled="this.canApply" index="/personalCenter/chatHistory"  >
          <i class="el-icon-menu"></i>
          <span slot="title">问答记录</span>
        </el-menu-item>
      </el-menu>
    </el-col>

    <el-col :span="21">
      <router-view></router-view>
    </el-col>

  </el-row>

</div>
</template>

<style scoped>

</style>